﻿using ETask.Api.Models;

namespace ETask.Api.Dtos
{
    public class TaskFileDto
    {
        public int Id { get; set; }

        public string FileName { get; set; }

        public string FileExtension { get; set; }

        public string FilePath { get; set; }

        public long FileSize { get; set; }

        public string FolderId { get; set; }

        public int CreateBy { get; set; }

        public string CreateByName { get; set; }

        public DateTime CreatedAt { get; set; }
    }

    public class CreateTaskFileDto
    {

    }

    public class UpdateTaskFileDto
    {

    }

    public class TaskFileListParams
    {
        public int ProjectId { get; set; }

        public string KeyWord { get; set; }

        public List<string> FileTypes { get; set; }

        public DateTime ? BeginTime { get; set; }

        public DateTime ? EndTime { get; set; }

        public PaginationParameters PageDto { get; set; }
    }
}
